﻿using System;
using System.Collections.Generic;

namespace DHJ.Cost.CostAccounting.Cache
{
    public class CostAccountingCacheItem
    {
        public const string CacheName = "CostAccountingCache";
        
        #region 基本信息

        public Guid Id { get; set; }

        /// <summary>
        /// 总金额
        /// </summary>
        public decimal TotalCost { get; set; }
        
        /// <summary>
        /// 数量
        /// </summary>
        public int Quantity{ get; set; }

        #endregion
        
        #region 条码信息

        /// <summary>
        /// 条码号
        /// </summary>
        public string BatchId { get; set; }


        #endregion

        #region 成本信息

        /// <summary>
        /// 成本值详细
        /// </summary>
        public List<CostUnitCacheItem> UnitItems { get; set; }
        
        #endregion

    }
}
